<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model as BaseModel;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasMany;

class TakeOrderSpecialModel extends BaseModel
{
    use HasFactory;

    protected $table = 't_take_order_special';

    protected $primaryKey = 'id';

    public $timestamps = false;

    const CREATED_AT = null;
    
    const UPDATED_AT = null;

    protected $guarded = [];

    protected $hidden = [
    ];

    public function order(): BelongsTo {
        return $this->belongsTo(OrderModel::class, 'order_id');
    }

}
